<?php
class Dealscombined_SiteIterator_Iterator
{
	protected $processors = array();	
		
	public function addProcessor(Dealscombined_SiteProcessor_ProcessorInterface $processor)
	{
		$this->processors[] = $processor;
	}
	
	
	public function run($userAgent = 'Googlebot/2.1 (http://www.googlebot.com/bot.html)')
	{			
		foreach ($this->processors as $processor) {
				$processor->process($userAgent);
			}	
		
	}		
}